<?php if(!empty($output['list'])){?>
<?php foreach($output['list'] as $val){?>
	<div class="balanceItem" mingxi="<?php echo $val['id'];?>">
        <div class="type"><?php echo $val['mingxi_reason'];?></div>
        <div class="time"><?php if($val['mingxi_pos']==1){ echo '微信';}else{ echo '余额';}?>-<?php echo date("Y-m-d H:i",$val['add_time']);?></div>
        <div class="amount <?php if($val['mingxi_type']=='0'){ echo 'positive';}else{ echo 'negtive';}?>">
            <span><?php if($val['mingxi_type']=='0'){ echo '+';}else{ echo '-';}?></span><?php echo $val['mingxi_price'];?>
        </div>
        <div class="status"></div>
    </div>
<?php }?>
<?php }?>